﻿using System;
using NHEntity.PK;

namespace NHEntity
{
    [Serializable]
    public class UserRoleEntity : IEquatable<UserRoleEntity>
    {
        private PKUserRole id = new PKUserRole();
        public virtual PKUserRole IdUserRole
        {
            set
            {
                id = value;
            }
            get
            {
                return id;
            }
        }

        public virtual bool Equals(UserRoleEntity other)
        {
            return other.IdUserRole.Equals(IdUserRole);
        }
    }
}
